@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="tb_classes";
		@ var _key="id";
        @ var _col=[
        @			  {name:"班级", index:"class_name", type:"text",newline:true,length:8,required:"required"},
        @			  {name:"年级", index:"grade_id", type:"select_1001",newline:true,length:8,required:"required"}
        @		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}